import Language from "@/pages/main/model/ModelLanguage.vue"
import qa from "@/pages/main/model/ModelQA.vue"
import Image from "@/pages/main/model/ModelImage.vue"


export default {
    path: '/model',
    name: 'model',
    icon: 'customModel',
    meta: {
        ln: 'router.model.title',
        auth: true,
        frame: true,
        menu: true
    },
    children: [
        {
            path: '/model/language',
            name: 'ModelLanguage',
            component: Language,
            icon: 'customModelLanguage',
            meta: {
                ln: 'router.model.language',
                auth: true,
                // 页面需要被缓存
                keepAlive: true,
                menu: true
            },
        },
        {
            path: '/model/qa',
            name: 'ModelQA',
            component: qa,
            icon: 'customModelQA',
            meta: {
                ln: 'router.model.qa',
                auth: true,
                // 页面需要被缓存
                keepAlive: true,
                menu: true
            },
        },
        {
            path: '/model/image',
            name: 'ModelImage',
            component: Image,
            icon: 'customModelImage',
            meta: {
                ln: 'router.model.image',
                auth: true,
                // 页面需要被缓存
                keepAlive: true,
                menu: true
            },
        },
    ]
}